package com.xxx.video.dynamic.presenters;

import com.xxx.video.commen.presenters.IBaseView;
import com.xxx.video.dynamic.beans.DynamicConfigBean;
import com.xxx.video.main.beans.DynamicInfoBean;
import com.xxx.video.main.beans.VideoDetailsBean;

import java.util.List;

public interface IDynamicDetailsView extends IBaseView {
    /**
     * init tab
     */
    void initList();

    /**
     * init data 2 view
     *
     * @param successOb data
     */
    void initData2View(VideoDetailsBean successOb);

    /**
     * get comment
     *
     * @return comment
     */
    String getComment();

    /**
     *
     */
    void clearComment();

    /**
     * init dynamic info data to view
     *
     * @param successOb data
     */
    void initDynamicInfoData2View(DynamicInfoBean successOb);

    /**
     * start login activity
     */
    void startLoginActivity();

    /**
     * init comment data to view
     *
     * @param interactionList data
     */
    void initDynamicInfoData2View(List<DynamicInfoBean.InteractionListBean> interactionList);

    /**
     * start chat activity
     *
     * @param userId user id
     */
    void startChatActivity(DynamicInfoBean.DynamicBean userId);

    /**
     * add friend success
     */
    void addFriendSuccess();

    /**
     * add comment success
     */
    void addCommentSuccess();

    /**
     * star success
     * @param praise
     */
    void starSuccess(boolean praise);

    void collectionSuccess();

    void unLikeSuccess(boolean praise);

    void initPreview(DynamicConfigBean successOb);

    void startFavoriteActivity();
}
